﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tools.Core.Entities;

namespace Tools.Services.Interfaces
{
    public interface IMailReceiverService
    {
        Task CreateReceiverAsync(MailReceiver receiver);
        Task DeleteReceiverAsync(int id);
        Task UpdateReceiverAsync(MailReceiver receiver);
        Task<MailReceiver> GetReceiverAsync(int id);
        Task<IEnumerable<MailReceiver>> GetAllReceiversAsync();
    }
}
